#ifndef _HAL_DEBUG_UART_H_
#define _HAL_DEBUG_UART_H_

#include "stm32l5xx_hal.h"
#include "hal_uart.h"


extern UART_HandleTypeDef huart1;
extern uart_t g_debug_uart;
extern uint8_t g_debug_rx_char;

void hal_debug_uart_init(void);
int32_t hal_debug_uart_write(uint8_t *data, uint32_t data_len);


#endif
